IProducerConsumerCollection(T) Methods

Task Parallel System.Threading

The IProducerConsumerCollection<(Of <(T>)>) type exposes the following members.

Methods

  NameDescription
CopyToOverloaded.
GetEnumeratorOverloaded.
ToArray
Copies the elements contained in the IProducerConsumerCollection<(Of <(T>)>) to a new array.
TryAdd
Attempts to add an object to the IProducerConsumerCollection<(Of <(T>)>).
TryTake
Attempts to remove and return an object from the IProducerConsumerCollection<(Of <(T>)>).

See Also